Usage
tc.plot(target, tp, id, type = "l", ylab = "Values", xlab = "Time points", col = 2, lwd = 1, lty = 2, pch = 1)
Arguments
target
A numerical vector with the longitudinal data.
tp
The time points. It can either be a vector with length either equal to the number of time points or equal to the legnth of the target.
id
A numerical vector specifying the subjects. It can either be a vector with length either equal to the number of subjects or equal to the legnth of the target.
type
This is a graphical parameter. You can have lines "l" everywhere or lines with points at each time point "p".
ylab
This is a graphical parameter. The label on the y axis.
xlab
This is a graphical parameter. The label on the x axis.
col
This is a graphical parameter. The color of the lines.
lwd
This is a graphical parameter. The thickness of the lines.
lty
This is a graphical parameter. The type of line, e.g. dashed, dotted, etc.
pch
This is a graphical parameter. If the type is "b", then you can specify if you want different signs, for example circles, crosses, diamonds etc.